[NTG-context] overthinking overprinting

2022-05-19 Thread Henning Hraban Ramm via ntg-context
the background, these might work with \startknockout etc. When I try my example: \useMPlibrary[dum] \setupcolors[ rgb=no,cmyk=yes, intent=overprint,% or knockout ] \setupbodyfont[modern,ss,18pt] \starttext \definecollector[Test] \setcollector [Test] {\externalfigure[none][width=8cm,height

Re: [NTG-context] Crediting copyright on photographs

2022-05-05 Thread Bruce Horrocks via ntg-context
Thank-you Adam, Hraban and Richard for your suggestions. In the end it was remarkably simple: \starttext \definecollector[example] \setcollector [example] {\externalfigure[cow][width=6cm,frame=off]} \setcollector [example] [corner={right,bottom},location={right,top}] {\rotate[rotation=90

Re: [NTG-context] Crediting copyright on photographs

2022-05-04 Thread Adam Reviczky via ntg-context
][{\directsetup{figure}\tightlayer[figure]}] \startsetups figure \setlayerframed[figure][frame=off,preset=rightbottom]{\copyright\ 2022} \stopsetups \externalfigure[cow][background={foreground,figure}] \stoptext \starttext \definecollector[example] \setcollector [example] {\externalfigure[cow

Re: [NTG-context] Label in externalfigures

2020-02-12 Thread Jan-Erik Hägglöf
reating pictures in Inkscape and >> export it to pdf but sometimes I do screenshots and save it in .png or .pdf >> format. So I just want to put labels in it like a layer in same size as the >> included picture. >> >> Or is this something that’s already solved so "rei

Re: [NTG-context] Label in externalfigures

2020-02-12 Thread Wolfgang Schuster
.png or .pdf > format. So I just want to put labels in it like a layer in same size as the > included picture. > > Or is this something that’s already solved so "reinventing wheel" is > unnecessary? Look at the example for \layeredtext, \collectedtext or \setcollector

Re: [NTG-context] Presets in collectors

2012-11-10 Thread Marco Patzer
and mid aligned as in the example below. However, I prefer not to adjust the distance manually. \setupbodyfont [12pt] \definecollector [mycollector] \setcollector [mycollector] {\framed[align=normal]{\input khatt-en\par

[NTG-context] Presets in collectors

2012-11-09 Thread Marco Patzer
Hi! Is there a reason that presets don't work with collectors? Collectors are based on layers and that's what presets are made for, right? Bug or feature? \definecollector [mycollector] [width=\textwidth] \setcollector [mycollector] {\framed[width=5cm,height=2cm]{Foo

Re: [NTG-context] animation error

2011-09-06 Thread Wolfgang Schuster
]}% \setcollector [fieldstack] {\fieldbody [\currentfieldstackname] [\c!option=\v!readonly, \c!width=\wd\scrn_fieldstack_box, \c!height=\ht\scrn_fieldstack_box, \c!depth=\dp\scrn_fieldstack_box, #settings]}} Wolfgang

Re: [NTG-context] Labelling figures

2008-09-16 Thread Wolfgang Schuster
\ht\labelbox \definecollector[label][state=repeat] \setcollector[label]{\box\labelbox} \setcollector[label][x=.65\labelwidth,y=.75\labelheight]{udder} \placefigure {A labelled cow} {\flushcollector[label]} \stoptext Figurelabel as described in the label manual [1] seem

Re: [NTG-context] Labelling figures

2008-09-16 Thread Hans Hagen
\labelwidth \labelwidth \wd\labelbox \newdimen\labelheight \labelheight\ht\labelbox \definecollector[label][state=repeat] \setcollector[label]{\box\labelbox} \setcollector[label][x=.65\labelwidth,y=.75\labelheight]{udder} \placefigure {A labelled cow} {\flushcollector[label]} \stoptext

[NTG-context] Labelling figures

2008-06-06 Thread Wolfgang Schuster
}] \starttext \newbox\labelbox \setbox\labelbox\hbox{\externalfigure[cow]} \newdimen\labelwidth \labelwidth \wd\labelbox \newdimen\labelheight \labelheight\ht\labelbox \definecollector[label][state=repeat] \setcollector[label]{\box\labelbox} \setcollector[label][x=.65\labelwidth,y=.75\labelheight]{udder

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
# \scratchdimen # \scratchskip \screen \section[references]{text} \seeregister[text]{text}{text+text+text} \selectblocks[names][names][critererium] \selectpaper[options] \selectversion # \setcollector # \setevalue # \setevariables # \setflag # \setfontstrut # \setgvalue # \setgvariables # \setlayer

Re: [NTG-context] Layers in ConTeXt

2007-07-13 Thread Peter Rolf
.75) instead; I have no experience with them, but setup should be the same as for layer. % - - - - - \definecollector[foo][state=repeat] \starttext \switchtobodyfont[32pt] \setcollector[foo]{\strut eat more...} \flushcollector[foo] \page[yes] \setcollector[foo][hoffset=6cm]{\strut poppler

Re: [NTG-context] Layers in ConTeXt

2007-07-13 Thread Giuseppe Bilotta
gets reset on each new page. use a collector (Details, p.75) instead; I have no experience with them, but setup should be the same as for layer. % - - - - - \definecollector[foo][state=repeat] \starttext \switchtobodyfont[32pt] \setcollector[foo]{\strut eat more...} \flushcollector[foo

Re: [NTG-context] Layers in ConTeXt

2007-07-13 Thread Peter Rolf
=repeat] \starttext \switchtobodyfont[32pt] \setcollector[foo]{\strut eat more...} \flushcollector[foo] \page[yes] \setcollector[foo][hoffset=6cm]{\strut poppler} \flushcollector[foo] \stoptext % - - - - - Excellent, thanks. BTW, just to show how out of the loop I am, where